<template>
	<view class="cake-item margin-bottom">
		<image src="https://static.mcake.com/new_goods/yangzhiganlu/list/1.jpg" mode=""></image>
		<view class="text-lg margin-top-sm">
			杨枝甘露
		</view>
		<view class="text-xs margin-tb-xs">
			YangZhiGanLu
		</view>
		<view class="text-price">
			219
		</view>
	</view>
</template>

<script>
	export default {
		// created() {
		// 	console.log('组件的created');
		// }
		props: {
			gdata: {
				type: Object,
				required:true 
			},
		},
	}
</script>

<style lang="scss">
	.cake-item{
		width: 354upx;
		image{
			width: 100%;
			height: 354upx;
		}
	}
</style>